﻿using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using SqlSugar;
using System;
using wnet.admin.wentcommon;


namespace Models
{
    /// <summary>
    /// 技术规范
    ///</summary>
    [SugarTable("yw_standarddoc")]
    public class yw_standarddoc
    {


        /// <summary>
        /// 备  注:id
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }



        /// <summary>
        /// 备  注:作者
        ///</summary> 
        public string author { get; set; }


        /// <summary>
        /// 备  注:文档类型
        ///</summary> 
        public string typename { get; set; }

        /// <summary>
        /// 备  注:部门
        ///</summary> 
        public string depname { get; set; }

        /// <summary>
        /// 备  注:标题
        ///</summary> 
        public string name { get; set; }

        /// <summary>
        /// 文档路径
        /// </summary>
        public string filepath { get; set; }

        /// <summary>
        /// 备  注:创建时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName = "createtime")]
        public DateTime createtime { get; set; }

        /// <summary>
        /// 备  注:修改时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName = "updatetime")]
        public DateTime updatetime { get; set; }


    }

}